home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Arsenal Files 6
/
The Arsenal Files 6 (Arsenal Computer).ISO
/
telegard
/
tgfpu300.zip
/
TGFAL.DOC
< prev
next >
Wrap
Text File
|
1996-01-20
|
8KB
|
253 lines
TGFAL
=================================
Version 3.00 - January 20, 1996
Telegard File Area Lister
for the
Telegard 3.0 BBS system
Mt. Glacier Software
Copyright (c) 1992, 1996 by Michael G. Smith
All rights reserved.
Latest version and Support available on my BBS:
The Twilight Zone
Telegard Beta Site
(203)688-0675
FidoNet 1:142/550
ITCNET 85:861/101
2400-33,600/V.32/V.34/V.FC HST Dual Standard (v.Everything)
(FREQ magic name TGFPU for latest version)
Purpose and Capabilities
========================
This utility program will output the file names of all defined file
areas in a Telegard system. This is useful to create a list that can
then be edited, sorted, or whatever. The final file could then, for
example, be included in a DOS batch file (or equivalent) that could be
used for file maintenance.
The utility takes as a single argument the desired output filename.
If desired, a prefix and/or suffix string can be specified which will
be included in the output line before/after the file name.
By default, the utility creates the output file (overwriting any
existing file). Optionally, the output file can be appended to.
Warranty
========
This product is provided "as is" without warranty of any kind. The entire
risk as to the results and performance of the program is assumed by you.
Furthermore, the author does not warrant, guarantee, or make any other
representations regarding the use of, or the results of the use of the
program, and you rely on the program and results solely at your own
risk. The author cannot and will not accept responsibility for system
damage, loss of profit, or any other special, consequential or incidental
damages resulting from the use or inability to use this product.
I've tested it on my system and it's worked fine. If you do find any
bugs, please report them using one of the support options below.
Copyright
=========
TGFAL is Copyright (c) 1996 Mt. Glacier Software by Michael G. Smith.
It is distributed as Freeware. You are encouraged to use this utility
free of charge. Any comments/feedback/suggestions would be gladly
accepted (see Support section below), including a simple note to say
"Thanks".
Distribution
============
You are encouraged to distribute TGFAL provided that all files contained
in the archive are distributed in their original and unmodified state.
No fee is to be charged above a normal minimal distribution fee.
Description
===========
TGFAL is a little utility program I wrote to "front end" the creation of
a batch file for use in running TGFPU and other utilities. It simply
outputs to the output file specified each and every 'filename' you've
specified when creating your file areas in the Telegard File Area
Manager.
TGFAL locates and extracts its information from the FAREAS.DAT file in
the Telegard \DATA directory.
Important Notes
===============
1. Option switches can be specified with slash or dash (e.g. /B or -B).
2. If /A (Append) is specified, the output file is appended to if it
exists in the current directory, otherwise the file is created as new.
3. Arguments to the /P (Prefix) and /S (Suffix) should use an underscore
"_" character to represent a space. If you need to have an
underscore in the output file, you'll need to edit and place it there
yourself - sorry.
4. Output line length is limited to 80 characters total.
Usage
=====
TGFAL will attempt to open CONFIG.TG in the current directory, and if not
found, will search the DOS PATH for it. Successful completion returns a
zero condition code, any errors will produce a non-zero return code.
Return codes (errorlevels) are detailed below.
TGFAL accepts one command line parameter (which is required),
and up to three command line option switches (which are optional).
Command format is:
TGFAL outfile [/A] [/Pprefix] [/Ssuffix]
Where:
outfile - Specifies the output filename to create/append.
/A - Specify to append to output file.
/Pprefix - Specify to add a prefix string to each output line.
Do not leave a space between the /P and the prefix string.
If spaces are desired, use an underscore (_) in their
place.
/Psuffix - Specify to add a suffix string to each output line.
Do not leave a space between the /S and the suffix string.
If spaces are desired, use an underscore (_) in their
place.
Example commands:
TGFAL FILES.LST = Output to file FILES.LST in the current
directory a list of the defined file names
in the FAREAS.DAT file. If FILES.LST exists,
it will be over written.
TGFAL RUNTGFPU.BAT /PTGFPU /S1
= Output to file RUNTGFPU.BAT in the current
directory a list of the defined file names
in the FAREAS.DAT file. If RUNTGFPU.BAT
exists it will be over written. The prefix
TGFPU and the suffix "1" will be added to
the output file.
Return Codes / ErrorLevels
==========================
0 = Normal completion.
4 = Invalid or Missing Parameters.
8 = Error Opening or Reading CONFIG.TG file.
12 = Error Opening or Reading FAREAS.DAT file.
16 = Error Opening or Writing specified output file.
Support
=======
I can be reached at the following for support/questions/suggestions about
this utility (listed in my preferred order):
FIDO: 1:142/550 (FREQ magic name TGFPU for latest version)
ITCNET: 85:861/101
Use NetMail for fastest reply.
BBS: The Twilight Zone
Telegard Beta Site
(203)688-0675 HST Dual Standard (v.Everything)
U.S. Mail: Michael G. Smith
14 Oxford Lane
Windsor, CT 06095
Phone: Sorry. No voice support available.
History
=======
Version Date Remarks
------- ---- -------
3.00 11/20/96 Initial version. Distributed in TGFPU300.ZIP.
Futures and Enhancements
========================
Well, that all depends. If I get some positive feedback on this utility,
requesting worthwhile enhancements, I'll consider updating it. If not,
well... it does what I want right now. :)
Some possibilities: (suggestions cheerfully accepted)
- Accomodate underscores in output line.
- ???
-= End of TGFAL.DOC file =-